package com.meme.editor.gui.sprite2d;



public class Tiled2dLayerStatus 
{
	boolean mVisible;
	boolean mLocked;
	
	public Tiled2dLayerStatus ()
	{
		setVisible (true);
		setLocked (false);
	}
	
	public boolean isVisible ()
	{
		return mVisible;
	}
	
	public void setVisible (boolean visible)
	{
		mVisible = visible;
	}
	
	public boolean isLocked ()
	{
		return mLocked || (! isVisible ());
	}
	
	public void setLocked (boolean locked)
	{
		mLocked = locked;
	}

}
